/**
 * Project Name:HomeActivity
 * Date:2016-3-24下午12:01:54
 * Copyright (c) 2016, askzhao All Rights Reserved.
 *
 */
package com.kkd.kkdapp.activity;

import android.content.Context;
import android.widget.ImageView;
import android.widget.PopupWindow;

import com.kkd.kkdapp.base.BaseActivity;
import com.kkd.kkdapp.utils.DialogUtils;

/**
 * ClassName: BankBaseActivity <br/>
 * date: 2016-3-24 下午12:01:54 <br/>
 * 
 * @author askzhao
 * @version
 */
public class BankBaseActivity extends BaseActivity {

	private PopupWindow mPopuWindowDialog;

	public void showBankdescDialog(Context context, ImageView img,
			String content) {
		if (mPopuWindowDialog != null) {
			mPopuWindowDialog.dismiss();
			mPopuWindowDialog = null;
		}
		mPopuWindowDialog = DialogUtils.bubblePupopwindow(context, content);
		mPopuWindowDialog.showAsDropDown(img);
	}

}
